<html>
<head>
<title>我的消息中心</title>
{% include "systy.html" %}
</head>
<body>
{% ifnotequal username None%}

{% include "head.html" %}
<table>
    <tr>
        <td width="200">标题</td>
        <td width="100">来自</td>
        <td width="200">时间</td>
    </tr>
    {% for i in message %}
    <tr>
        <td width="200">
            <a href="mytask/{{i.taskid}}.html">{{i.title}}</a>
        </td>
        <td width="100">{{i.fromname}}</td>
        <td width="200">{{i.now_time|date:"Y-m-d : H:i:s"}}</td>
    </tr>
    {% endfor %}
</table>
{% else %}
你无权访问，请<a href="/login.html">登陆!</a>
{% endifnotequal%}
</body>
</html>
